<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/js/axios.min.js"></script>
    <script src="/js/util.js"></script>
    <script>
        function signOut() {
            axios.get("/user/out").then(resp => {
                let info = resp.data;
                if (info == "noUser") {

                }
                if (info == "ok") {
                    location.href = "/login.html";
                }
            })
        }
    </script>
    <style>
        div {
            border: 1px solid #000;
        }
    </style>

</head>
<body>
<div style="height: 30px;text-align: center">客户交流服务系统</div>
<div style="height: 800px;display: flex">
    <div style="height: 795px;width: 100px;"><br>
        <a href="/index.html" target="contentFrame">首页</a><br>
        <a href="/login.html" target="contentFrame">登录</a><br>
        <a href="/register.html" target="contentFrame">注册</a><br>
        <a href="/login.html" target="contentFrame" onclick="signOut()">退出</a><br>
        <a href="/index.html" target="contentFrame">管理</a><br>
        <a href="/index.html" target="contentFrame">风格</a><br>
    </div>
    <iframe frameborder="0" src="/index.html" name="contentFrame"
            width="1100" height="790"></iframe>
</div>

</body>
</html>

